package com.rc.saas.mini.model.rc;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-06-21
 */

@ApiModel(value=" rc_member_gain_record ", description=" 会员权益记录表 ")
public class RcMemberGainRecord extends BaseModel{ 

    @ApiModelProperty(value = "id")
    private Long rcMemberGainRecordId;
 
    @ApiModelProperty(value = "权益ID")
    private Long memberGainId;
 
    @ApiModelProperty(value = "等级权益编码,大写S为前缀，如S0-S5")
    private String channelLevelType;
 
    @ApiModelProperty(value = "会员ID")
    private Long memberId;
 
    @ApiModelProperty(value = "等级权益名称")
    private String gainName;
 
    @ApiModelProperty(value = "0充值消费折扣 1充值赠送金额 2生日礼遇充值消费折扣  3生日礼遇充值送权益金  4.生日礼遇充值整单面 5.生日礼遇免单  6.生日礼遇满减. 默认0")
    private String gainType;
 
    @ApiModelProperty(value = "图标")
    private String gainLogo;
 
    @ApiModelProperty(value = "权益说明")
    private String gainExplain;
 
    @ApiModelProperty(value = "退款N次后，再充值消费无折扣")
    private Integer refundCountTarget;
 
    @ApiModelProperty(value = "排序")
    private Integer sort;
 
    @ApiModelProperty(value = "说明")
    private String remark;
 
    @ApiModelProperty(value = "是否定义为默认规则 0否 1是 默认0")
    private String isDefault;
 
    @ApiModelProperty(value = "状态 0启用 1停用 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getRcMemberGainRecordId() {
        return rcMemberGainRecordId;
    }

    public void setRcMemberGainRecordId(Long rcMemberGainRecordId) {
        this.rcMemberGainRecordId = rcMemberGainRecordId;
    }

    public Long getMemberGainId() {
        return memberGainId;
    }

    public void setMemberGainId(Long memberGainId) {
        this.memberGainId = memberGainId;
    }

    public String getChannelLevelType() {
        return channelLevelType;
    }

    public void setChannelLevelType(String channelLevelType) {
        this.channelLevelType = channelLevelType;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getGainName() {
        return gainName;
    }

    public void setGainName(String gainName) {
        this.gainName = gainName;
    }

    public String getGainType() {
        return gainType;
    }

    public void setGainType(String gainType) {
        this.gainType = gainType;
    }

    public String getGainLogo() {
        return gainLogo;
    }

    public void setGainLogo(String gainLogo) {
        this.gainLogo = gainLogo;
    }

    public String getGainExplain() {
        return gainExplain;
    }

    public void setGainExplain(String gainExplain) {
        this.gainExplain = gainExplain;
    }

    public Integer getRefundCountTarget() {
        return refundCountTarget;
    }

    public void setRefundCountTarget(Integer refundCountTarget) {
        this.refundCountTarget = refundCountTarget;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
